package com.cskaoyan.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author stone
 * @date 2022/11/15 16:41
 */
@Controller
@ResponseBody
@RequestMapping("params")
public class RequestParameterLimitController {

    // 含义：既要携带username又要携带password
    @RequestMapping(value = "/login",params = {"username","password"})
    public String login() {
        return "login";
    }
}
